Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 6 - Sequence Grabber Channel Components / Sequence Grabber Channel Components Reference
Functions / Configuration Functions for All Channel Components


SGSetChannelMaxFrames

The SGSetChannelMaxFrames function allows the sequence grabber to limit the number of frames that your channel component will capture during a record operation.

pascal ComponentResult SGSetChannelMaxFrames (SGChannel c, 
                                              long frameCount);
c
Identifies the channel connection for this operation.
frameCount
Specifies the maximum number of frames to capture during the preview or record operation. The sequence grabber component sets this parameter to -1 to remove the limit.
DESCRIPTION
The SGSetChannelMaxFrames function works only with channels that have data that is organized into frames, such as video data from a video disc.

RESULT CODES
paramErr-50Invalid parameter specified
cantDoThatInCurrentMode-9402Request invalid in current mode
SEE ALSO
You report whether your channel's data is organized into frames in your response to the SGGetChannelInfo function, which is described on page 6-47.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help